var option = {
    tooltip: {
        trigger: 'item',
        formatter: '{a} <br/>{b} : {c} ({d}%)'
    },
    
    series: [
        {
            name: '安全评价',
            type: 'pie',
            radius: ['45%','70%'],
            center: ['50%', '50%'],
            data: [
                {value: 335, name: '低于80分',itemStyle:{color:'#8e30ff'}},
                {value: 310, name: '80-80分',itemStyle:{color:'#0263ff'}},
                {value: 234, name: '90分以上',itemStyle:{color:'#ff7723'}}
            ],
            labelLine: {
                show: false,
                length:5
            }
        }
    ]
};

    var chart = echarts.init(document.getElementById('dianli_echart1'))
    chart.setOption(option);